import { IsNotEmpty } from 'class-validator';

export class CreateWireDto {
  @IsNotEmpty({ message: '请输入名称' })
  name: string;

  @IsNotEmpty({ message: '请输入类型' })
  type: string;

  @IsNotEmpty({ message: '请输入长度' })
  long: number;

  show: number;

  remain: number;

  @IsNotEmpty({ message: '请输入项目id' })
  projId: number;
}
